<?php

namespace haibao\cms\model\data;

class BrandAttentionRecord extends Base{
	
	const RECORD_TYPE_LIKE = 1;
	
	const RECORD_TYPE_COMMENT = 2;
	
	const RECORD_TYPE_BLOG = 3;
	
	/**
	 * 状态状态（0：不可用，1：可用）
	 */
	const STATUS_DISABLE = 0;
	const STATUS_ENABLE = 1;
	
	
	/*
	 * 关注用户uid
	 */
    public $UserId;
    /*
     * 品牌Id
     */
    public $BrandId;
    /*
     *关注日期
     */
    public $CreateTime;
    /*
     *操作类型
     */
    public $RecordType;
    /*
     *状态
     */
    public $Status;
    
    public $BrandAttentionRelated;
    
    public $BrandAttentionRiseCount;
    
	public function __construct(){
		parent::__construct();
		$this->intField('UserId', 'UserId',true);
		$this->intField('BrandId', 'BrandId',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('RecordType', 'RecordType',true);
		$this->intField('Status', 'Status',true);
		$this->setTableName('BrandAttentionRecord');
	}
}
